Integrand size = 19, antiderivative size = 201 \[ \int \frac {1}{x \cot ^{\frac {5}{2}}\left (a+b \log \left (c x^n\right )\right )} \, dx=-\frac {\arctan \left (1-\sqrt {2} \sqrt {\cot \left (a+b \log \left (c x^n\right )\right )}\right )}{\sqrt {2} b n}+\frac {\arctan \left (1+\sqrt {2} \sqrt {\cot \left (a+b \log \left (c x^n\right )\right )}\right )}{\sqrt {2} b n}+\frac {2}{3 b n \cot ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right )}-\frac {\log \left (1-\sqrt {2} \sqrt {\cot \left (a+b \log \left (c x^n\right )\right )}+\cot \left (a+b \log \left (c x^n\right )\right )\right )}{2 \sqrt {2} b n}+\frac {\log \left (1+\sqrt {2} \sqrt {\cot \left (a+b \log \left (c x^n\right )\right )}+\cot \left (a+b \log \left (c x^n\right )\right )\right )}{2 \sqrt {2} b n} \]
[Out]
Time = 0.17 (sec) , antiderivative size = 201, normalized size of antiderivative = 1.00, number of steps used = 13, number of rules used = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.474, Rules used = {3555, 3557, 335, 217, 1179, 642, 1176, 631, 210} \[ \int \frac {1}{x \cot ^{\frac {5}{2}}\left (a+b \log \left (c x^n\right )\right )} \, dx=-\frac {\arctan \left (1-\sqrt {2} \sqrt {\cot \left (a+b \log \left (c x^n\right )\right )}\right )}{\sqrt {2} b n}+\frac {\arctan \left (\sqrt {2} \sqrt {\cot \left (a+b \log \left (c x^n\right )\right )}+1\right )}{\sqrt {2} b n}+\frac {2}{3 b n \cot ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right )}-\frac {\log \left (\cot \left (a+b \log \left (c x^n\right )\right )-\sqrt {2} \sqrt {\cot \left (a+b \log \left (c x^n\right )\right )}+1\right )}{2 \sqrt {2} b n}+\frac {\log \left (\cot \left (a+b \log \left (c x^n\right )\right )+\sqrt {2} \sqrt {\cot \left (a+b \log \left (c x^n\right )\right )}+1\right )}{2 \sqrt {2} b n} \]
[In]
[Out]
Rule 210
Rule 217
Rule 335
Rule 631
Rule 642
Rule 1176
Rule 1179
Rule 3555
Rule 3557
Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \frac {1}{\cot ^{\frac {5}{2}}(a+b x)} \, dx,x,\log \left (c x^n\right )\right )}{n} \\ & = \frac {2}{3 b n \cot ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right )}-\frac {\text {Subst}\left (\int \frac {1}{\sqrt {\cot (a+b x)}} \, dx,x,\log \left (c x^n\right )\right )}{n} \\ & = \frac {2}{3 b n \cot ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right )}+\frac {\text {Subst}\left (\int \frac {1}{\sqrt {x} \left (1+x^2\right )} \, dx,x,\cot \left (a+b \log \left (c x^n\right )\right )\right )}{b n} \\ & = \frac {2}{3 b n \cot ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right )}+\frac {2 \text {Subst}\left (\int \frac {1}{1+x^4} \, dx,x,\sqrt {\cot \left (a+b \log \left (c x^n\right )\right )}\right )}{b n} \\ & = \frac {2}{3 b n \cot ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right )}+\frac {\text {Subst}\left (\int \frac {1-x^2}{1+x^4} \, dx,x,\sqrt {\cot \left (a+b \log \left (c x^n\right )\right )}\right )}{b n}+\frac {\text {Subst}\left (\int \frac {1+x^2}{1+x^4} \, dx,x,\sqrt {\cot \left (a+b \log \left (c x^n\right )\right )}\right )}{b n} \\ & = \frac {2}{3 b n \cot ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right )}+\frac {\text {Subst}\left (\int \frac {1}{1-\sqrt {2} x+x^2} \, dx,x,\sqrt {\cot \left (a+b \log \left (c x^n\right )\right )}\right )}{2 b n}+\frac {\text {Subst}\left (\int \frac {1}{1+\sqrt {2} x+x^2} \, dx,x,\sqrt {\cot \left (a+b \log \left (c x^n\right )\right )}\right )}{2 b n}-\frac {\text {Subst}\left (\int \frac {\sqrt {2}+2 x}{-1-\sqrt {2} x-x^2} \, dx,x,\sqrt {\cot \left (a+b \log \left (c x^n\right )\right )}\right )}{2 \sqrt {2} b n}-\frac {\text {Subst}\left (\int \frac {\sqrt {2}-2 x}{-1+\sqrt {2} x-x^2} \, dx,x,\sqrt {\cot \left (a+b \log \left (c x^n\right )\right )}\right )}{2 \sqrt {2} b n} \\ & = \frac {2}{3 b n \cot ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right )}-\frac {\log \left (1-\sqrt {2} \sqrt {\cot \left (a+b \log \left (c x^n\right )\right )}+\cot \left (a+b \log \left (c x^n\right )\right )\right )}{2 \sqrt {2} b n}+\frac {\log \left (1+\sqrt {2} \sqrt {\cot \left (a+b \log \left (c x^n\right )\right )}+\cot \left (a+b \log \left (c x^n\right )\right )\right )}{2 \sqrt {2} b n}+\frac {\text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1-\sqrt {2} \sqrt {\cot \left (a+b \log \left (c x^n\right )\right )}\right )}{\sqrt {2} b n}-\frac {\text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1+\sqrt {2} \sqrt {\cot \left (a+b \log \left (c x^n\right )\right )}\right )}{\sqrt {2} b n} \\ & = -\frac {\arctan \left (1-\sqrt {2} \sqrt {\cot \left (a+b \log \left (c x^n\right )\right )}\right )}{\sqrt {2} b n}+\frac {\arctan \left (1+\sqrt {2} \sqrt {\cot \left (a+b \log \left (c x^n\right )\right )}\right )}{\sqrt {2} b n}+\frac {2}{3 b n \cot ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right )}-\frac {\log \left (1-\sqrt {2} \sqrt {\cot \left (a+b \log \left (c x^n\right )\right )}+\cot \left (a+b \log \left (c x^n\right )\right )\right )}{2 \sqrt {2} b n}+\frac {\log \left (1+\sqrt {2} \sqrt {\cot \left (a+b \log \left (c x^n\right )\right )}+\cot \left (a+b \log \left (c x^n\right )\right )\right )}{2 \sqrt {2} b n} \\ \end{align*}
Time = 0.28 (sec) , antiderivative size = 109, normalized size of antiderivative = 0.54 \[ \int \frac {1}{x \cot ^{\frac {5}{2}}\left (a+b \log \left (c x^n\right )\right )} \, dx=-\frac {-2+3 \arctan \left (\sqrt [4]{-\cot ^2\left (a+b \log \left (c x^n\right )\right )}\right ) \left (-\cot ^2\left (a+b \log \left (c x^n\right )\right )\right )^{3/4}+3 \text {arctanh}\left (\sqrt [4]{-\cot ^2\left (a+b \log \left (c x^n\right )\right )}\right ) \left (-\cot ^2\left (a+b \log \left (c x^n\right )\right )\right )^{3/4}}{3 b n \cot ^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right )} \]
[In]
[Out]
Time = 1.03 (sec) , antiderivative size = 139, normalized size of antiderivative = 0.69
method | result | size |
derivativedivides | \(\frac {\frac {\sqrt {2}\, \left (\ln \left (\frac {1+\cot \left (a +b \ln \left (c \,x^{n}\right )\right )+\sqrt {2}\, \sqrt {\cot \left (a +b \ln \left (c \,x^{n}\right )\right )}}{1+\cot \left (a +b \ln \left (c \,x^{n}\right )\right )-\sqrt {2}\, \sqrt {\cot \left (a +b \ln \left (c \,x^{n}\right )\right )}}\right )+2 \arctan \left (1+\sqrt {2}\, \sqrt {\cot \left (a +b \ln \left (c \,x^{n}\right )\right )}\right )+2 \arctan \left (-1+\sqrt {2}\, \sqrt {\cot \left (a +b \ln \left (c \,x^{n}\right )\right )}\right )\right )}{4}+\frac {2}{3 {\cot \left (a +b \ln \left (c \,x^{n}\right )\right )}^{\frac {3}{2}}}}{n b}\) | \(139\) |
default | \(\frac {\frac {\sqrt {2}\, \left (\ln \left (\frac {1+\cot \left (a +b \ln \left (c \,x^{n}\right )\right )+\sqrt {2}\, \sqrt {\cot \left (a +b \ln \left (c \,x^{n}\right )\right )}}{1+\cot \left (a +b \ln \left (c \,x^{n}\right )\right )-\sqrt {2}\, \sqrt {\cot \left (a +b \ln \left (c \,x^{n}\right )\right )}}\right )+2 \arctan \left (1+\sqrt {2}\, \sqrt {\cot \left (a +b \ln \left (c \,x^{n}\right )\right )}\right )+2 \arctan \left (-1+\sqrt {2}\, \sqrt {\cot \left (a +b \ln \left (c \,x^{n}\right )\right )}\right )\right )}{4}+\frac {2}{3 {\cot \left (a +b \ln \left (c \,x^{n}\right )\right )}^{\frac {3}{2}}}}{n b}\) | \(139\) |
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.25 (sec) , antiderivative size = 793, normalized size of antiderivative = 3.95 \[ \int \frac {1}{x \cot ^{\frac {5}{2}}\left (a+b \log \left (c x^n\right )\right )} \, dx=\text {Too large to display} \]
[In]
[Out]
Timed out. \[ \int \frac {1}{x \cot ^{\frac {5}{2}}\left (a+b \log \left (c x^n\right )\right )} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {1}{x \cot ^{\frac {5}{2}}\left (a+b \log \left (c x^n\right )\right )} \, dx=\int { \frac {1}{x \cot \left (b \log \left (c x^{n}\right ) + a\right )^{\frac {5}{2}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {1}{x \cot ^{\frac {5}{2}}\left (a+b \log \left (c x^n\right )\right )} \, dx=\text {Timed out} \]
[In]
[Out]
Time = 28.88 (sec) , antiderivative size = 80, normalized size of antiderivative = 0.40 \[ \int \frac {1}{x \cot ^{\frac {5}{2}}\left (a+b \log \left (c x^n\right )\right )} \, dx=\frac {2}{3\,b\,n\,{\mathrm {cot}\left (a+b\,\ln \left (c\,x^n\right )\right )}^{3/2}}-\frac {{\left (-1\right )}^{1/4}\,\mathrm {atan}\left ({\left (-1\right )}^{1/4}\,\sqrt {\mathrm {cot}\left (a+b\,\ln \left (c\,x^n\right )\right )}\right )\,1{}\mathrm {i}}{b\,n}-\frac {{\left (-1\right )}^{1/4}\,\mathrm {atanh}\left ({\left (-1\right )}^{1/4}\,\sqrt {\mathrm {cot}\left (a+b\,\ln \left (c\,x^n\right )\right )}\right )\,1{}\mathrm {i}}{b\,n} \]
[In]
[Out]